{include file="header.tpl"}

<!-- start of main body -->
<div id="main">

<div id="main-top"></div>

<!-- start of treasure banner -->
<div id="banner">
	<span><a href="process.php">&lt;&lt; Process</a></span>
	<span class="headtitle">Treasure</span>
	<span><a href="recite.php">Recite &gt;&gt;</a></span>
</div>
<!-- end of treasure banner -->

<div id="main-middle">
	<!-- start of word list -->
	<div class="subtitle">Treasure Words List</div>
	<div>
		{section name=foo loop=$wordslist}
		<div>
			<span><a href="?next=delete&id={$wordslist[foo]->getId()}&page={$currentpage}">X</a></span>
			<span>{$wordslist[foo]->getKey()}</span>
		</div>
		{/section}
	</div>
	<!-- end of word list -->
	
	<!-- start of paging links -->
	<div>
		<a href="{$first}">&lt;&lt; First</a>
		<a href="{$prev}">&lt; Prev</a>
		{$currentpage} / {$pagesamount}
		<a href="{$next}">Next &gt;</a>
		<a href="{$last}">Last &gt;&gt;</a>
	</div>
	<!-- end of paging links -->
</div>

<div id="main-bottom"></div>

</div>
<!-- end of main body -->

{include file="footer.tpl"}
